-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCS-2953: Edit mlmodel service from QA #3672
base: main
Are you sure you want to change the base?
Conversation
sguequierre
commented
Nov 13, 2024
- edits infer method, adds from robot, edits get resource name
@@ -206,7 +226,7 @@ Get the `ResourceName` for this instance of the ML model service with the given | |||
**Example:** | |||
|
|||
```python {class="line-numbers linkable-line-numbers"} | |||
my_mlmodel_svc_name = MLModelClient.get_resource_name("my_mlmodel_svc") | |||
my_mlmodel_svc_name = my_mlmodel.get_resource_name("my_mlmodel_svc") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created this ticket to fix that in automation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh you're right it's a class method, sorry for my misunderstanding. I did look into it originally and became confused thinking this was wrong but now that I look at the python sdk docs again it is at the same level as 'FromRobot', which makes sense as to why it should not be changed. editing ticket now and will fix this here
tensor.Of(tensor.Uint8), | ||
tensor.WithShape(1, 384, 384, 3), | ||
tensor.WithBacking(make([]uint8, 1*384*384*3)), | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation is off
tensor.WithShape(1, 384, 384, 3), | ||
tensor.WithBacking(make([]uint8, 1*384*384*3)), | ||
), | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@npentrel does this look better indentation-wise?
Co-authored-by: Naomi Pentrel <[email protected]>
You can view a rendered version of the docs from this PR at https://docs-test.viam.dev/3672 |